<?php

namespace App\Models\City;

class City extends \App\Libs\Base\BaseModel
{
    protected $__TABLE__ = 't_paile_serve_city';

    /**
     *    跳过检测了
     */
    public function beforeValidation()
    {
        //self::skipValidation([] , $this );
    }

    public function getCity()
    {
        $resultSets = $this->modelsManager->createBuilder()
            ->from('App\Models\City\City')
			->where('is_show = 1')
			->orderBy('order_score desc')
            ->getQuery()
            ->execute();
        return $resultSets;
    }


}
